/*
 * @Author: 张勇 1179276268@qq.com
 * @Date: 2024-01-04 15:46:31
 * @LastEditors: 张勇 1179276268@qq.com
 * @LastEditTime: 2024-01-04 16:29:07
 * @FilePath: \project-template\src\vite\plugins\auto-import.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import autoImport from 'unplugin-auto-import/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
export default function createAutoImport() {
  return autoImport({
    imports: ['vue', 'vue-router', 'pinia'],
    resolvers: [ElementPlusResolver()],
    dts: false
  })
}
